package com.asiainfo.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class User {
    private int id;
    private String userName;
    private String password;
    private String qq;
    private String email;
    private String tele;
    private Date birthday;
    private String sex;
    private int isSure=0;//0为未审核，1已经审核
    private int authority;//0为管理员，1为其它用户
    private Set<News> mynews = new HashSet<News>();
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getQq() {
		return qq;
	}
	public void setQq(String qq) {
		this.qq = qq;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getTele() {
		return tele;
	}
	public void setTele(String tele) {
		this.tele = tele;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public int getIsSure() {
		return isSure;
	}
	public void setIsSure(int isSure) {
		this.isSure = isSure;
	}
	public int getAuthority() {
		return authority;
	}
	public void setAuthority(int authority) {
		this.authority = authority;
	}
	public Set<News> getMynews() {
		return mynews;
	}
	public void setMynews(Set<News> mynews) {
		this.mynews = mynews;
	}
	
}
